﻿<%@ Page Language="C#" MasterPageFile="~/Shared/default.master" AutoEventWireup="true" CodeFile="MyOrderDetail.aspx.cs" Inherits="Pages_Usercenter_MyOrderDetail" Title="Untitled Page" %>

<%@ Register src="../../Misc/Control/MyAccount.ascx" tagname="MyAccount" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<title>订单详情</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="main2">
 <div class="main_l">
  	<!--左侧部分 开始-->
	<div class="dingd_top">
			<ul>
				<li><a href="MyOrderList.aspx"><span>我的订单</span></a></li>
				<li class="navon"><a href="MyEventList.aspx"><span>我的活动</span></a></li>
				<li class="navon"><a href="MyAddressList.aspx"><span>地址簿</span></a></li>
				<li class="navon"><a href="MyReviewList.aspx"><span>我的留言</span></a></li>
			</ul>
		</div>
		<div class="l_area3">
			<div class="dingd3">
				<ul class="dingd_gray">
					<li class="dingd_13 fb">产品</li>
					<li class="dingd_14 fb">单价</li>
					<li class="dingd_15 fb">交易状态</li>
					<li class="dingd_16 fb">购买数量</li>
					<li class="dingd_17 fb">总价</li>
				</ul>
				
				<pan:SmartGridView ID="panGdvReviewList" runat="server" 
                AutoGenerateColumns="False" DataSourceID="odsOrderDetailList" 
                AllowPaging="True" >
                <Columns>
                <asp:TemplateField>
                <ItemTemplate >
				<ul>
					<li class="dingd_13"><a href='/pages/index.aspx?pid=<%#Eval("ProductID") %>' target="_blank"><%#Eval("ProductName") %></a></li>
					<li class="dingd_14">￥<%#Eval("Price") %></li>
					<li class="dingd_15"><%# string.Compare(Eval("Status").ToString(), "1") ==0? "未支付" : "已支付" %></li>
					<li class="dingd_16"><%#Eval("Count") %></li>
					<li class="dingd_17">￥<%#Eval("TotalAmount") %></li>
				</ul>
				<ul class="dingd_gray">
										<li class="dingd_18">运费</li>
										<li class="dingd_19">￥<%#Eval("Freight") %></li>
					<li class="dingd_19"></li>
									</ul>
				<ul>
					<li class="dingd_18">使用M币</li>
					<li class="dingd_19">￥<%#Eval("Token") %></li>
				</ul>
				<ul class="dingd_gray">
					<li class="dingd_18">应付金额</li>
					<li class="dingd_19">￥<%#Eval("PayMoney") %></li>
				</ul>
				b
			</div>
			<div class="blank10"></div>
			<div class="dingd5">
				<dl class="dingd5_l">
					<dt>订单详情</dt>
					<dd><em>订单编号：</em><%#Eval("OrderNum") %></dd><!--OrderNum-->
					<dd><em>支付方式：</em><%# Pan.Sys_Config.OrderPayWay(Eval("PayWay").ToString()) %></dd>
					<dd><em>订单时间：</em><%#Eval("CreateOn") %></dd>
					<dd><em>付款时间：</em><%#Eval("PayDate") %></dd> <!--PayDate-->
					<dd>
                    </dd>
									</dl>
				<dl class="dingd5_r">
					<dt>物流信息</dt>
					<dd><em>收 货 人：</em><%#Eval("CheckName") %></dd>
					<dd><em>地　　址：</em><%#Eval("CheckAddress") %></dd><!--CheckAddress-->
					<dd><em>手　　机：</em><%#Eval("Tel") %></dd><!--Tel-->
					<dd><em>运送方式：</em></dd><!---->
					<dd><em>物流公司名称：</em></dd><!--CheckAddress-->
					<dd><em>运 单 号：</em><span><!--<a href="#" target="_blank">查看物流状态</a>  --></span></dd><!--CheckAddress-->
				</dl>
				</ItemTemplate>
                
				</asp:TemplateField>
                
                </Columns>
                </pan:SmartGridView>
                <asp:ObjectDataSource ID="odsOrderDetailList" runat="server" 
        OldValuesParameterFormatString="original_{0}" SelectMethod="GetModel" 
        TypeName="Tuan.BLL.OrderInfo">
        <SelectParameters>
            <asp:ControlParameter ControlID="hdOrderID" DefaultValue="" Name="OrderID" 
                PropertyName="Value" Type="Int32" />
        </SelectParameters>
    </asp:ObjectDataSource>
			</div>
			<div class="blank25"></div>
		</div>
		<div class="l_bot">
            
     </div>
	<!--左侧部分 结束--> </div> 
  	<uc1:MyAccount ID="MyAccount1" runat="server" />
	<DIV class="go-top"><A href="#uptop">↑顶部</A></DIV></div>
	<asp:HiddenField   ID="hdOrderID" runat="server" />
	<asp:HiddenField   ID="hdUserName" runat="server" />
</asp:Content>

